package com.example.service;

import com.example.model.MessageEntity;

import java.util.List;

public interface MessageService {
    List<MessageEntity> getAllMessage();

    int insertMessage(MessageEntity msg);

    int deleteMessageById(int id);
}
